package com.ruoyi.visit.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 信访投诉对象 letter_visit
 * 
 * @author yxf
 * @date 2021-08-25
 */
public class LetterVisit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long lvId;

    /** 投诉人 */
    @Excel(name = "投诉人")
    private String lvTsPl;

    /** 申请流水号 */
    @Excel(name = "申请流水号")
    private String lvSl;

    /** 投诉人电话 */
    @Excel(name = "投诉人电话")
    private String lvTsTel;

    /** 来源（1：来电，2：来访，3互联网举报） */
    @Excel(name = "来源", readConverterExp = "1=：来电，2：来访，3互联网举报")
    private Integer lvSource;

    /** 投诉单位 */
    @Excel(name = "投诉单位")
    private String lvTsEp;

    /** 污染类型 */
    @Excel(name = "污染类型")
    private String lvPtType;

    /** 投诉内容 */
    @Excel(name = "投诉内容")
    private String lvTsCt;

    /** 信访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "信访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lvStTime;

    /** 受理状态（0 已受理，1 未受理） */
    @Excel(name = "受理状态", readConverterExp = "0=,已=受理，1,未=受理")
    private Integer lvIsAccept;

    /** 办理状态(0审核中 1 调查中 2整改中 3 已完成) */
    @Excel(name = "办理状态(0审核中 1 调查中 2整改中 3 已完成)")
    private Integer lvDealState;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String lvDealResult;

    /** 处理结果 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间")
    private Date lvDealTime;

    /** 公示状态（0 公示 1 不公示） */
    @Excel(name = "公示状态", readConverterExp = "0=,公=示,1=,不=公示")
    private Integer lvIsPub;

    /** 企业ID */
    @Excel(name = "企业ID")
    private Long epId;

    /** 删除标志（0 代表存在 2代表删除） */
    private String delFlag;

    /** 照片 */
    @Excel(name = "照片")
    private String lvPic;

    /** $column.columnComment */
    @Excel(name = "照片")
    private String lvAcceptP;

    public Date getLvDealTime() {
        return lvDealTime;
    }

    public void setLvDealTime(Date lvDealTime) {
        this.lvDealTime = lvDealTime;
    }

    public void setLvId(Long lvId)
    {
        this.lvId = lvId;
    }

    public Long getLvId() 
    {
        return lvId;
    }
    public void setLvTsPl(String lvTsPl) 
    {
        this.lvTsPl = lvTsPl;
    }

    public String getLvTsPl() 
    {
        return lvTsPl;
    }
    public void setLvSl(String lvSl) 
    {
        this.lvSl = lvSl;
    }

    public String getLvSl() 
    {
        return lvSl;
    }
    public void setLvTsTel(String lvTsTel) 
    {
        this.lvTsTel = lvTsTel;
    }

    public String getLvTsTel() 
    {
        return lvTsTel;
    }
    public void setLvSource(Integer lvSource) 
    {
        this.lvSource = lvSource;
    }

    public Integer getLvSource() 
    {
        return lvSource;
    }
    public void setLvTsEp(String lvTsEp) 
    {
        this.lvTsEp = lvTsEp;
    }

    public String getLvTsEp() 
    {
        return lvTsEp;
    }
    public void setLvPtType(String lvPtType) 
    {
        this.lvPtType = lvPtType;
    }

    public String getLvPtType() 
    {
        return lvPtType;
    }
    public void setLvTsCt(String lvTsCt) 
    {
        this.lvTsCt = lvTsCt;
    }

    public String getLvTsCt() 
    {
        return lvTsCt;
    }
    public void setLvStTime(Date lvStTime) 
    {
        this.lvStTime = lvStTime;
    }

    public Date getLvStTime() 
    {
        return lvStTime;
    }
    public void setLvIsAccept(Integer lvIsAccept) 
    {
        this.lvIsAccept = lvIsAccept;
    }

    public Integer getLvIsAccept() 
    {
        return lvIsAccept;
    }
    public void setLvDealState(Integer lvDealState) 
    {
        this.lvDealState = lvDealState;
    }

    public Integer getLvDealState() 
    {
        return lvDealState;
    }
    public void setLvDealResult(String lvDealResult) 
    {
        this.lvDealResult = lvDealResult;
    }

    public String getLvDealResult() 
    {
        return lvDealResult;
    }
    public void setLvIsPub(Integer lvIsPub) 
    {
        this.lvIsPub = lvIsPub;
    }

    public Integer getLvIsPub() 
    {
        return lvIsPub;
    }
    public void setEpId(Long epId) 
    {
        this.epId = epId;
    }

    public Long getEpId() 
    {
        return epId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setLvPic(String lvPic) 
    {
        this.lvPic = lvPic;
    }

    public String getLvPic() 
    {
        return lvPic;
    }
    public void setLvAcceptP(String lvAcceptP) 
    {
        this.lvAcceptP = lvAcceptP;
    }

    public String getLvAcceptP() 
    {
        return lvAcceptP;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lvId", getLvId())
            .append("lvTsPl", getLvTsPl())
            .append("lvSl", getLvSl())
            .append("lvTsTel", getLvTsTel())
            .append("lvSource", getLvSource())
            .append("lvTsEp", getLvTsEp())
            .append("lvPtType", getLvPtType())
            .append("lvTsCt", getLvTsCt())
            .append("lvStTime", getLvStTime())
            .append("lvIsAccept", getLvIsAccept())
            .append("lvDealState", getLvDealState())
            .append("lvDealResult", getLvDealResult())
            .append("lvIsPub", getLvIsPub())
            .append("epId", getEpId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("lvPic", getLvPic())
            .append("lvAcceptP", getLvAcceptP())
            .toString();
    }
}
